home *** CD-ROM | disk | FTP | other *** search
/ Monster Media 1996 #15 / Monster Media Number 15 (Monster Media)(July 1996).ISO / prog_c / cuj0696.zip / DWYER.ZIP / LIB / BIT_HLRS.H < prev    next >
C/C++ Source or Header  |  1995-09-19  |  816b  |  33 lines

  1. # if defined(__BIT_HLRS_H__)
  2. #    /* Do nothing. */
  3. # else
  4. # if !defined(__DEFCODES)
  5.  
  6. typedef    unsigned char        UCHAR;
  7. typedef    unsigned int        UINT;
  8. # endif
  9.  
  10. /* ------------------- */
  11. /* FUNCTION PROTOTYPES */
  12. /* ------------------- */
  13. # undef F
  14. # if defined(__STDC__) || defined(__PROTO__)
  15. #    define  F( P )  P
  16. # else
  17. #    define  F( P )  ()
  18. # endif
  19.  
  20. /* INDENT OFF */
  21. extern    UCHAR    TestBit F((UCHAR *, UINT));
  22. extern    void    ClrBitArray F((UCHAR *, UINT, UINT, UCHAR));
  23. extern    void    CmplBit F((UCHAR *, UINT));
  24. extern    void    CopyBits F((UCHAR *, UINT, UINT, UCHAR *, UINT));
  25. extern    void    ReverseBits F((UCHAR *, UINT, UINT, UCHAR *, UINT));
  26. extern    void    ReverseInSitu F((UCHAR *, UINT, UINT));
  27. extern    void    SetBit F((UCHAR *, UINT, UCHAR));
  28.  
  29. # undef F
  30. /* INDENT ON */
  31.  
  32. # endif        /* << __BIT_HLRS_H__ >>    */
  33.